package net.koodar.forge.system.menu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.koodar.forge.system.menu.model.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Menu Mapper.
 *
 * @author liyc
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findByRoleId(@Param("roleId") Long roleId);

}
